<link rel="stylesheet" href="../static/dist/css/AdminLTE.min.css" type="text/css">
<link rel="stylesheet" href="../static/bootstrap/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="../static/plugins/datatables/jquery.dataTables.css" type="text/css">
<link rel="stylesheet" href="../static/css/admin.css" type="text/css">
<link rel="stylesheet" href="../static/jBox/Skins/Metro/jbox.css" type="text/css">
<link rel="stylesheet" href="../static/plugins/daterangepicker/daterangepicker.css" type="text/css">
<style>
.dataTables_length {
	margin-top: 10px;
}

.dataTable>tbody>tr>td {
	vertical-align: middle;
	font-size: 0.8em;
	padding: 8px 18px;
}

.dataTable>thead>tr>th {
	vertical-align: middle;
	font-size: 0.8em;
}

.source_type_class {
	min-height: 20px;
	padding-left: 20px;
	margin-bottom: 0;
	font-weight: 400;
	cursor: pointer;
}
.form-left{
    border-right: 1px solid #dddddd;
}

.examine-content{
    width: 1000px;
	margin-left:-300px;
}
.examine-content .input-group .form-control{
    margin-bottom: 20px;
    height: 30px ;
    line-height: 30px;
}
.examine-content button{
    margin: 10px;
}
#table_list th, td {
	white-space: nowrap;
}
#push-goods-modal label{
	text-align: right;
}
</style>
<div class="tabs-panel">
	<div class="row">
		<div class="col-xs-12">
			<div class="box">
				<div class="box-header">
					<label>商品名称：</label>
					<input class="depart-input" name="goods_name_cn" id="goods_name_cn" type="text" style="width: 200px" placeholder="">
					<label>时间区间：</label>
                    <input class="depart-input" name="reservationtime" id="reservationtime" type="text" placeholder="" style="width: 270px">
                    <label>查阅状态：</label>
                    <select id="consult" name="consult" class="depart-input" style="width: 150px">
                        <option value="">全部</option>
                        <?php if (is_array($GLOBALS['_PUSH_GOODS_CONSULT']) && count($GLOBALS['_PUSH_GOODS_CONSULT']) > 0)foreach($GLOBALS['_PUSH_GOODS_CONSULT'] as $key=>$value){?>
                            <option value="<?=$key?>" <?=($key == 0 ? 'selected' : '')?>><?=$value?></option>
                        <?php }?>
                    </select>&nbsp;
					<button type="button" class="btn btn-primary depart-modal" onclick="table_list_reload()" style="width: 100px;">查询</button>
					&nbsp;
					<button type="button" class="btn btn-warning depart-modal" id="reset_button" style="width: 100px;">重置</button>
				</div>
				<div class="box-body">
					<table id="table_list" class="display">
						<thead>
							<tr>
								<th>日期</th>
								<th>物料号</th>
								<th>销售价</th>
								<th>商品原价</th>
								<th>物料描述</th>
								<th>商品大类</th>
								<th>产品组</th>
								<th>规格</th>
								<th>材质</th>
								<th>单位</th>
								<th>品牌英文名</th>
								<th>品牌中文名</th>
								<th>现货/期货</th>
								<th>最小起订量</th>
								<th>色号</th>
								<th>物料国别</th>
								<th>物料产地</th>
								<th>品名</th>
								<th>型号</th>
								<th>商品系列号</th>
								<th>当前业态</th>
								<th>之前业态</th>
								<th>商品专员</th>
								<th>查阅状态</th>
							</tr>
						</thead>
						<tbody>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="modal fade" id="push-goods-modal" style="background: rgba(236, 230, 230, 0.3);" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 75%;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">查阅</h4>
            </div>
            <div class="modal-body">
                <form method="post" name="push_goods_form" id="push_goods_form">
                    <div class="box-body">
                    	<div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">物料号：</label>
							<div class="col-sm-4">
								<span class="item_no"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">销售价：</label>
							<div class="col-sm-4">
								<span class="list_price"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">商品原价：</label>
							<div class="col-sm-4">
								<span class="item_price"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">商品大类：</label>
							<div class="col-sm-4">
								<span class="itemtype"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">物料描述：</label>
							<div class="col-sm-4">
								<span class="item_desc"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">产品组：</label>
							<div class="col-sm-4">
								<span class="item_group"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">规格：</label>
							<div class="col-sm-4">
								<span class="item_spec"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">材质：</label>
							<div class="col-sm-4">
								<span class="item_stuff"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">单位：</label>
							<div class="col-sm-4">
								<span class="item_u_m"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">品牌英文名称：</label>
							<div class="col-sm-4">
								<span class="brand_ename"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">品牌中文名称：</label>
							<div class="col-sm-4">
								<span class="brand_cname"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">现货/期货：</label>
							<div class="col-sm-4">
								<span class="item_sf"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">最小起订量：</label>
							<div class="col-sm-4">
								<span class="minin_qty"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">色号：</label>
							<div class="col-sm-4">
								<span class="color"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">物料国别：</label>
							<div class="col-sm-4">
								<span class="item_country"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">物料产地：</label>
							<div class="col-sm-4">
								<span class="item_state"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">品名：</label>
							<div class="col-sm-4">
								<span class="itemname"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">型号：</label>
							<div class="col-sm-4">
								<span class="itemmodel"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">产品系列号：</label>
							<div class="col-sm-4">
								<span class="itemseries"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">当前业态：</label>
							<div class="col-sm-4">
								<span class="curinccode"></span>
							</div>
                        </div><br/>
                        <div class="form-group">
                    		<label for="tag_group_id_add" class="col-sm-2">之前业态：</label>
							<div class="col-sm-4">
								<span class="preinccode"></span>
							</div>
                            <label for="tag_group_id_add" class="col-sm-2">商品专员：</label>
							<div class="col-sm-4">
								<span class="itememployee"></span>
							</div>
                        </div>
                        <input name="line_sync_id" id="line_sync_id" value="" type="hidden"/>
                    </div>
                    <div class="modal-footer">
                    	<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                		<a type="button" class="btn btn-primary ajax_post_tag">已查阅</a>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<!-- 固定js -->
<script type="text/javascript" src="../static/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script type="text/javascript" src="../static/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../static/plugins/datatables/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="../static/plugins/datatables/dataTables.bootstrap.min.js"></script>
<script type="text/javascript" src="../static/jBox/jquery.jBox-2.3.min.js"></script>
<script type="text/javascript" src="../static/jBox/i18n/jquery.jBox-zh-CN.js"></script>
<!--富文本框插件-->
<script type="text/javascript" src="/static/plugins/xheditor/xheditor-1.2.2.min.js"></script>
<script type="text/javascript" src="/static/plugins/xheditor/xheditor_lang/zh-cn.js"></script>
<!--图片上传插件用-->
<script type="text/javascript" src="../static/plugins/jquery.form.js"></script>
<!--图片显示用-->
<script type="text/javascript" src="../static/plugins/layer/layer.js"></script>
<!-- 时间插件 -->
<script type="text/javascript" src="../static/plugins/moment/moment.min.js"></script>
<script type="text/javascript" src="../static/plugins/daterangepicker/daterangepicker.js"></script>
<!-- 自定义js -->
<script type="text/javascript" src="../static/app/global.js?version=<?=Yii::$app->params['version']?>"></script>
<script type="text/javascript" src="../static/app/push-goods/index.js?version=<?=Yii::$app->params['version']?>"></script>